import barEchart from '@/components/echart/Bar.vue'
import datasetEchart from '@/components/echart/Dataset.vue'
import lineEchart from '@/components/echart/Line.vue'
import radarEchart from '@/components/echart/Radar.vue'
import scatterEchart from '@/components/echart/Scatter.vue'
import boxplotEchart from '@/components/echart/Boxplot.vue'
import UEchart from '@/components/echart/Echart.vue'




import Vue from 'vue'
const components = [
    barEchart,
    datasetEchart,
    lineEchart,
    radarEchart,
    scatterEchart,
    boxplotEchart,
    UEchart
]

const install = function(Vue, opts = {}) {
    components.forEach(component => {
        Vue.component(component.name, component);
    });

};

install(Vue);

